import styled from "styled-components";
import {SeeMoreBox} from "@/component/Home/CardList/style";
import {
    AccentBackgroundColor,
    Blue,
    DarkFontColor,
    LightBackgroundColor,
    LightFontColor,
    StrongFontColor, StrongLightBackgroundColor
} from "@/style/Color";

export const NewsListContainer = styled.ul`
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  float: left;
  padding: 0 10px;
`
export const Card = styled.div`
  transition: transform .30s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow .30s cubic-bezier(0.645, 0.045, 0.355, 1), border .30s cubic-bezier(0.645, 0.045, 0.355, 1);

  &:hover {
    transform: translateY(-5px);
    //box-shadow: 5px 5px 10px rgba(203, 203, 203, 0.6);
    //border-color: #fff;
  }
`

export const RightSeeMore = styled(SeeMoreBox)`
  margin-bottom: 20px;
  padding: 10px 5px;
`
export const LeftSeeMore = styled(SeeMoreBox)`
  width: auto;
  height: auto;
  padding: 10px 20px;
  float: left;
  margin-left: 10px;
  margin-right: 5px;
  border-radius: 5px;
  background-color: ${StrongLightBackgroundColor};
  color: ${LightFontColor};
  
  &.selected{
    background-color: ${Blue};
    color: ${LightFontColor};
    :hover{
      color: ${LightFontColor};
    }
  }
  
  :hover{
    color: ${Blue};
  }
`
